package com.sam.stream;



public class StreamFactory {
	
	public StreamFactory(){
		
	}
	

	public IStream create(int ID,String vidPath){
		
		if(ID==1)
			return new FileStream(vidPath);
		else if(ID==2)
			return new CamStream();
		return null;
	} 

	
}
